home *** CD-ROM | disk | FTP | other *** search
/ Big Cock 7 / Big Cock 7 - Disc 1.iso / pc / main.dxr / 00024_chkBank.ls < prev    next >
Encoding:
Text File  |  1996-10-17  |  1.1 KB  |  41 lines

  1. on chkbank
  2.   global banknum
  3.   if banknum = 7 then
  4.     set the locH of sprite 48 to 539
  5.     set the castNum of sprite 41 to 57
  6.   else
  7.     if banknum = 6 then
  8.       set the locH of sprite 48 to 451
  9.       set the castNum of sprite 41 to 56
  10.     else
  11.       if banknum = 5 then
  12.         set the locH of sprite 48 to 363
  13.         set the castNum of sprite 41 to 55
  14.       else
  15.         if banknum = 4 then
  16.           set the locH of sprite 48 to 275
  17.           set the locV of sprite 48 to 398
  18.           set the castNum of sprite 41 to 54
  19.         else
  20.           if banknum = 3 then
  21.             set the locH of sprite 48 to 100
  22.             set the locV of sprite 48 to 598
  23.             set the castNum of sprite 41 to 53
  24.           else
  25.             if banknum = 2 then
  26.               set the locH of sprite 48 to 100
  27.               set the locV of sprite 48 to 398
  28.               set the castNum of sprite 41 to 52
  29.             else
  30.               if banknum = 1 then
  31.                 set the locH of sprite 48 to 12
  32.                 set the castNum of sprite 41 to 51
  33.               end if
  34.             end if
  35.           end if
  36.         end if
  37.       end if
  38.     end if
  39.   end if
  40. end
  41.